<?php
global $page;
	if($page == 'admin')
require_once  '../../include/data.php';
	else
require_once  '../include/data.php';


//set up the names of the database and table containing users
$db_name 	= DB_NAME;
/** ne pas renommer $table_name*/
$table_name = "authorize";

//connect to the server and select the database
$server 	= DB_HOST;
$dbusername = DB_USER;
$dbpassword = DB_PASS;

//domain information
$domain = ".entreprise-tunisienne.com";

//Change to "0" to turn off the login log
$log_login = "0";

//base_dir is the location of the files, ie http://www.yourdomain/login
$base_dir = $domain.'/'.ADMIN_FOLDER;

//length of time the cookie is good for - 7 is the days and 24 is the hours
//if you would like the time to be short, say 1 hour, change to 60*60*1
$duration = time()+(60*60*24*30);

//the site administrator\'s email address
$adminemail = ADMIN_EMAIL;

//sets the time to EST
$zone=3600*-5;

//do you want the verify the new user through email if the user registers themselves?
//yes = "0" :  no = "1"
$verify = "1";

//default redirect, this is the URL that all self-registered users will be redirected to
//$default_url = "http://entreprise-tunisienne.com";

//minimum and maximum password lengths
$min_pass = 6;
$max_pass = 250;


$num_groups = 3+2;
$group_array = array("Super Administrateur", "Administrateur", "Gestionnaire", "Users","Administrators");


session_start();
?>
